package com.test.qnews.beans;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by dllo on 16/1/12.
 */
public class NetDataBean  implements Serializable{
    private String title;
    private String content;
    private String imageUrl;
    private int item_type;
    private int imageSize;
    private String source_name;
//    private String titleJoke;//为了获得空的标题,节省一个布局
    private ArrayList<String> imgUrls = new ArrayList<>();////
    private long time;


    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    //把多个图片放到一个集合里
    public ArrayList<String> getImgUrls() {
        return imgUrls;
    }
    public void setImgUrls(String imageUrl) {
       imgUrls.add(imageUrl);
    }
    public void setImgUrls(ArrayList<String> imgUrls) {
        this.imgUrls = imgUrls;
    }
    //////////////////////////////////////////////



//    public String getTitleJoke() {
//        return titleJoke;
//    }
//
//    public void setTitleJoke(String titleJoke) {
//        this.titleJoke = titleJoke;
//    }

    public String getSource_name() {
        return source_name;
    }

    public void setSource_name(String source_name) {
        this.source_name = source_name;
    }



    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public int getItem_type() {
        return item_type;
    }

    public void setItem_type(int item_type) {
        this.item_type = item_type;
    }

    public int getImageSize() {
        return imageSize;
    }

    public void setImageSize(int imageSize) {
        this.imageSize = imageSize;
    }



}
